{% load adminmedia admin_list i18n %}
{% load url from future %}
<!DOCTYPE html>
<html>
<head>
<title>OWMX</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/styles/a.css" media="screen">
</head>
<body>
<div id="a">
  <header> <a href="/admin/" title="Go to Homepage"><strong>OWMX</strong> LOGISTIC</a>
    <p>Panel Administracyjny</p>
  </header>
  <div id="b">
    <aside>
      <h4>Zalogowany jako</h4>
      <div id="c"> <img src="/images/jonas-jacek.png" alt="{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}">
        <p><strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong></p>
        <p>{% url 'admin:password_change' as password_change_url %}
                {% if password_change_url %} <a href="{{ password_change_url }}">
                {% else %} <a href="{{ root_path }}password_change/">{% endif %}Zmień hasło</a></p>
        <p>{% url 'admin:logout' as logout_url %} {% if logout_url %} <a href="{{ logout_url }}"> {% else %}
                    <a href="{{ root_path }}logout/">{% endif %}Wyloguj</a></p>
      </div>
        {% if has_add_permission %}
	<nav>
        <ul class="object-tools">
          {% block object-tools-items %}
            <li>
              <a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">
                {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
              </a>
            </li>
          {% endblock %}
        </ul>
	</nav>
      {% endif %}
    </aside>
        <article>
	<h1>Czy chcesz usunąc?</h1>
	{% if perms_lacking or protected %}
    {% if perms_lacking %}
        <p>{% blocktrans with object as escaped_object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
        <ul>
        {% for obj in perms_lacking %}
            <li>{{ obj }}</li>
        {% endfor %}
        </ul>
    {% endif %}
    {% if protected %}
        <p>{% blocktrans with object as escaped_object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}</p>
        <ul>
        {% for obj in protected %}
            <li>{{ obj }}</li>
        {% endfor %}
        </ul>
    {% endif %}
{% else %}
    <p>{% blocktrans with object as escaped_object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>
    <ul>{{ deleted_objects|unordered_list }}</ul>
    <form action="" method="post" style="background-color:#FFF">{% csrf_token %}
    <div>
    <input type="hidden" name="post" value="yes" />
    <input class="button" type="submit" value="{% trans "Yes, I'm sure" %}" />
    </div>
    </form>
{% endif %}
        </article>
  </div>
  <footer>
    <p><!--Template Design &amp; Markup by <a href="http://jabz.net/contact/jonas-jacek">Jonas Jacek</a> | <a href="http://owmx.com/" title="Free HTML5 &amp; CSS3 Web Templates">Free Web Templates</a>.--></p>
  </footer>
</div>
</html>
